package com.zxy.ziems.server.production.mapper;

import com.zxy.ziems.server.mybatis.core.mapper.BaseMapperX;
import com.zxy.ziems.server.production.pojo.dto.CustXyhShipCountDTO;
import com.zxy.ziems.server.production.pojo.entity.CustXyhShipEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Copyright (C),
 * @ClassName: CustXyhShipMapper
 * @Author: yanzhiwei
 * @Description:
 * @Date: 2024/5/13 16:44
 */
@Mapper
public interface CustXyhShipMapper extends BaseMapperX<CustXyhShipEntity> {

    List<CustXyhShipCountDTO> typeDayCount(@Param("startDate") String startDate, @Param("endDate") String endDate, List<String> materialNoList, List<String> productNameList, List<String> billTypeList);

    List<CustXyhShipCountDTO> typeMonthCount(@Param("startDate") String startDate, @Param("endDate") String endDate, List<String> materialNoList, List<String> productNameList, List<String> billTypeList);

    List<CustXyhShipCountDTO> typeYearCount(@Param("startDate") String startDate, @Param("endDate") String endDate, List<String> materialNoList, List<String> productNameList, List<String> billTypeList);

    List<CustXyhShipCountDTO> typeHisYearCount(@Param("startDate") String startDate, @Param("endDate") String endDate, List<String> materialNoList, List<String> productNameList, List<String> billTypeList);

    void deleteAll();
}
